package com.week1.day03;

import java.util.Scanner;

public class homework2 {

    public static void main(String[] args) {
        System.out.println("输入一个大于6的偶数");
        Scanner scanner = new Scanner(System.in);
        int number = scanner.nextInt();
        if (number > 6 && number % 2 == 0) {
            for (int i = 2; i <= number / 2; i++) {
                if (day03utils.isPrimeNumber(i) && day03utils.isPrimeNumber(number - i)) {
                    System.out.println(number + "=" + i + "+" + (number - i));
                }
            }
        }else{
            System.out.println("输入有误");
        }
    }
}
